﻿<!doctype html>
<html>

<head>
    <title>教务中心-教师操作管理 - {$org.org_platformname}</title>
    <vt:include file="../inc/meta.inc" />

    <link href="Styles/Panel.css?ver={$version}" rel="stylesheet" type="text/css" />

</head>

<body>
    <div id="header">

        <vt:if var="org.org_logo" value="" compare="!="><a href="/" class="logo"> <img
                    src="{$orgPath}{$org.org_logo}" /></a> </vt:if>
        
            <dl overclass="overMenu" class="menubBar">
                <!--   <dd class="rootmenu"   nid="0">
                        <a href="/">首页</a>
                    </dd>-->
                <vt:function var="menu" method="Navi" args="main" args="0" />
                <!--主菜单输入-->
                <vt:foreach from="$#.menu" item="m" index="i">
                    <dd class="rootmenu" nid="{$:m.nav_id}">
                        <vt:if var="m.nav_isbold" value="true" compare="=">
                            <a href="{$:m.nav_url}" target="{$:m.nav_target}" title="{$:m.nav_title}"
                                style="color: {$:m.nav_color};font-family: {$:m.nav_font};font-weight: bold;">
                                <vt:else />
                                <a href="{$:m.nav_url}" target="{$:m.nav_target}" title="{$:m.nav_title}"
                                    style="color: {$:m.nav_color};font-family: {$:m.nav_font};">
                        </vt:if>
                        {$:m.nav_name} </a>
                    </dd>
                </vt:foreach>
            </dl>

       
        <form class="searchBox" action="/Courses.ashx" method="get" target="_blank">
            <input name="search" type="text" class="seacInput" id="search" nullable='false' star='false' placeholder="搜索课程" />
            <div class="searbtn" verify='true'>
                <span class="iconfont">&#xe62f;</span>
            </div>
        </form>

    </div>
    <!--主菜单的下拉菜单-->
    <vt:function var="drop" method="NaviDrop" args="main" args="0" />
    {$drop}
    <script>
        //主菜单效果
        NavigationInit();
        RightMenuDrop();
        MenuEvent();

    </script>

    <div id="Context">

        <script type="text/javascript" src="Scripts/panel.js?ver={$version}"></script>
        <!--左侧菜单 -->
        <div id="leftArea">
            <div id="foldbtn"></div>
            <a class="menuTitle" mmid="0" title="启始页" href="/Admin/Startpage.ashx">
                <vt:if var="Teacher.Th_Photo" value="" compare="=">
                    <img src="/Utility/images/head1.jpg" width="20" />
                    <vt:else />
                    <img src="{$thpath}{$:#.Teacher.Th_Photo}" default="/Utility/images/head1.jpg" />
                </vt:if>

                {$Teacher.Th_Name}
            </a>
            <div id="menuBox">
                <vt:repeat type="managemenu" item="data" marker="teacher">
                    <vt:repeat from="$data.Childs" item="m" index="i">
                        <div class="mmitem" mmtype="{$:m.current.mm_type}" wd="{$:m.current.MM_WinWidth}"
                            hg="{$:m.current.MM_WinHeight}" title="{$:m.current.MM_Intro}" tax="{$:i}"
                            mmid="{$:m.current.MM_ID}">
                            <!--图标 -->
                            <vt:if var="m.current.mm_icox" value="0" compare=">">
                                <div class="ico"
                                    style="background-position: -{$:m.current.mm_icox}px -{$:m.current.mm_icoy}px">
                                </div>
                                <vt:else />
                                <div class="ico"></div>
                            </vt:if>
                            <a href="{$:m.current.MM_Link}" title=" {$:m.current.mm_name}" target="_blank"
                                isBold="{$:m.current.mm_isbold}"> {$:m.current.mm_name}</a>
                        </div>
                        <vt:if var="m.Childs.Count" value="0" compare=">">
                            <div class="mmBox" style="display:none" mmtype="{$:m.current.mm_type}">
                                <vt:repeat from="$m.Childs" item="m2" index="j">
                                    <div class="mmitem" mmtype="{$:m2.current.mm_type}" wd="{$:m2.current.MM_WinWidth}"
                                        hg="{$:m2.current.MM_WinHeight}" mmid="{$:m2.current.MM_ID}"
                                        title="{$:m2.current.MM_Intro}" tax="{$:i}.{$:j}">
                                        <!--图标 -->
                                        <vt:if var="m2.current.mm_icox" value="0" compare=">">
                                            <div class="ico"
                                                style="background-position: -{$:m2.current.mm_icox}px -{$:m2.current.mm_icoy}px">
                                            </div>
                                            <vt:else />
                                            <div class="ico"></div>
                                        </vt:if>
                                        <a href="{$:m2.current.MM_Link}" title=" {$:m2.current.mm_name}" target="_blank"
                                            isBold="{$:m2.current.mm_isbold}"> {$:m2.current.mm_name}</a>
                                    </div>
                                    <vt:if var="m2.Childs.Count" value="0" compare=">">
                                        <div class="mmBox" style="display:none" mmtype="{$:m2.current.mm_type}">
                                            <vt:repeat from="$m2.Childs" item="m3" index="n">
                                                <div class="mmitem" mmtype="{$:m3.current.mm_type}"
                                                    mmid="{$:m3.current.MM_ID}" wd="{$:m3.current.MM_WinWidth}"
                                                    hg="{$:m3.current.MM_WinHeight}" title="{$:m3.current.MM_Intro}"
                                                    tax="{$:i}.{$:j}.{$:n}">
                                                    <!--图标 -->
                                                    <vt:if var="m3.current.mm_icox" value="0" compare=">">
                                                        <div class="ico"
                                                            style="background-position: -{$:m3.current.mm_icox}px -{$:m3.current.mm_icoy}px">
                                                        </div>
                                                        <vt:else />
                                                        <div class="ico"></div>
                                                    </vt:if>
                                                    <a href="{$:m3.current.MM_Link}"
                                                        title=" {$:m2.current.mm_name}>>{$:m3.current.mm_name}"
                                                        target="_blank" isBold="{$:m3.current.mm_isbold}">
                                                        {$:m3.current.mm_name}</a>
                                                </div>
                                            </vt:repeat>
                                        </div>
                                    </vt:if>
                                </vt:repeat>
                            </div>
                        </vt:if>
                    </vt:repeat>
                    <vt:repeatelse />
                    <p style="text-align:center">没有菜单项</p>
                </vt:repeat>
            </div>
        </div>
        <!--右侧管理区 -->
        <div id="rightArea">

            <div class="lowest" mark="最低一级导航菜单">
                <div class="item"> </div>
                <div class="item"> </div>

            </div>
            <div class="righttop">
                <div class="loginInfo">教师管理 | <a href="/student/logout.ashx">退出</a></div>
                <vt:if var="lic.VersionLevel" value="6" compare="<">
                    <a class="versionBox" title="当前系统的商业授权" href="/license.aspx" target="_blank">{$lic.VersionName}</a>
                </vt:if>
            </div>
            <div class="bar">
                <div class="menuNav"> 当前操作：<a id="menuPath" href="/admin/Startpage.ashx">启始页</a></div>
            </div>
            <iframe src="/admin/Startpage.ashx" name="adminPage" id="adminPage" class="frame" marginwidth="0"
                marginheight="0" align="top" scrolling="auto" width="988" frameborder="0" allowtransparency="true">
            </iframe>
        </div>
    </div>

</body>

</html>